home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0527.dms / q0527.adf / DMakefile < prev    next >
Makefile  |  1991-02-02  |  635b  |  31 lines

  1.  
  2. #   Required directories:
  3. #    dtmp:comp/cc
  4. #
  5. #   -ms (see DCC.DOC) reduces the allocated data segment by putting string
  6. #    constants into the code section (and handling 'const' differently).
  7. #    For DCC, about 700 bytes are moved to the code section (90% of
  8. #    the data!!!)
  9.  
  10. OD= dtmp:comp/cc/
  11. EXE= t:dcc
  12. CFLAGS= -ms -r -I$(OD)
  13. PROTOS= $(OD)protos.h
  14.  
  15. SRCS= main.c subs.c
  16. OBJS = $(SRCS:"*.c":"$(OD)*.o")
  17.  
  18. all: $(PROTOS) $(EXE)
  19.  
  20. $(EXE) : $(OBJS)
  21.     dcc $(CFLAGS) %(right) -o %(left)
  22.     resident %(left)
  23.  
  24. $(OBJS) : $(SRCS)
  25.     dcc $(CFLAGS) -c %(right) -o %(left) -v
  26.  
  27. $(PROTOS) : $(SRCS)
  28.     -delete %(left)
  29.     makeproto -o%(left) %(right)
  30.  
  31.